package com.ktg.common.utils.poi;


import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class ExcelCell extends ExcelStyle{
    /**
     * row
     */
    private int row = -1;

    /**
     * column
     */
    private int column = -1;


    /**
     * 向下合并
     */
    private int mergeRow = 0;

    /**
     * 向右合并
     */
    private int mergeColumn = 0;

    public ExcelCell setRang(int row,int column,int mergeRow,int mergeColumn){
        this.row = row;
        this.column = column;
        this.mergeRow = mergeRow;
        this.mergeColumn = mergeColumn;
        return this;
    }

}
